import ACTIONTYPES from '@redux/config/action.types.js';

const userReducer = (state = {}, action) => {
    switch (action.type) {
        case ACTIONTYPES.USER_MESSAGES:
            return {...state, ...action.payload};
        default:
            return state;
    }
};

export default {
    userReducer
}